package com.zy.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zy.pojo.Purchase;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PurchaseMapper extends BaseMapper<Purchase> {
    public List<Purchase> getPurList(Page page, @Param("ew") Wrapper wrapper);
    public int update(Purchase purchase);
    public void getPurchasemxadd(@Param("cgLingcode") Integer cgLingcode,@Param("goodsName") String goodsName,@Param("Lingroot")Integer Lingroot,@Param("djia")Integer djia,@Param("dshu") Integer dshu,@Param("zmoney") Integer zmoney);
    public void  getPurdeladd(Purchase purchase);
}